<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>学生个人中心</title>
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" />
    <style type="text/css">
        table.table1 {
            font-family: verdana,arial,sans-serif;
            font-size:11px;
            color:#333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
        }
        table.table1 th {
            font-size: 14px;
            text-align: left;
            width: 200px;
            border-width: 1px;
            padding: 8px;
            height: 25px;
        }
        table.table1 td {
            font-size: 14px;
            text-align: left;
            width: 200px;
            border-width: 1px;
            padding: 8px;
        }
        button{
            margin-left: 1190px;
            width: 95px;
            height: 45px;
            border-radius: 5px;
            color: white;
            background-color: #4169E1;
        }
        fieldset{
            width: 1227px;
            margin-left: 30px;
            margin-top: 15px;
        }
        .table2{
            width: 90%; font-size: 16px;text-align: center;margin: 0 auto;
            border-collapse: separate;border-spacing: 0;border: 2px #e0e0e0;
            margin-top: 20px;
        }
        .table2 td {
            border-bottom: 2px solid #eaeaea;
        }
        .tr1{
            background: #efefef;font-size: 14px;height:50px;
        }
        .tr2{
            height: 60px;border-bottom: 2px solid #eaeaea;font-size: 13px;
        }
    </style>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">

    <!-- header -->
    <div th:replace="~{commons/header::header}"></div>

    <!-- left -->
    <div th:replace="~{commons/studentLeft::left}"></div>
    <!-- 内容主体区域 -->
    <div class="layui-body">
        <div style="padding:20px 0px 45px 0px;">
                <h1 style="text-align: center">学生个人中心</h1>

                <a href="/to_student_update"><button >修改信息</button></a>
            <fieldset>
                <legend><h2>一、基本信息</h2></legend>
                <table class="table1">
                    <tr th:each="studentList:${studentinfo1}">
                        <td rowspan="7" style="width: 200px;"><img src="image/photo.jpg"
                                                                   style="width: 102px;height: 135px;"></td>
                        <th>姓名:</th>
                        <td th:text="${studentList.getStuName()}"></td>
                        <th>曾用名:</th>
                        <td th:text="${studentList.getStuPastName()}"></td>
                        <th>学号:</th>
                        <td th:text="${studentList.getStuId()}"></td>
                        <th>性别:</th>
                        <td th:text="${studentList.getStuSex()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>婚姻:</th>

                        <td th:text="${studentList.getStuMarriage()}"></td>
                        <th>辅导员</th>
                        <td th:text="${studentList.getStuInstructor()}"></td>
                        <th>政治面貌:</th>
                        <td th:text="${studentList.getStuPoliticalOutlook()}"></td>
                        <th>出生日期:</th>
                        <td th:text="${studentList.getStuBirth()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>国籍:</th>
                        <td th:text="${studentList.getStuCountry()}"></td>
                        <th>籍贯:</th>
                        <td th:text="${studentList.getStuProvince()}"></td>
                        <th>民族:</th>
                        <td th:text="${studentList.getStuNation()}"></td>
                        <th>身份证号:</th>
                        <td th:text="${studentList.getStuMarriage()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>宿舍</th>

                        <td th:text="${studentList.getStuDormitory()}">
                        </td>


                        <th>银行卡号:</th>
                        <td th:text="${studentList.getStuBankId()}"></td>
                        <th>所属银行:</th>
                        <td th:text="${studentList.getStuBankName()}"></td>
                        <th>开户行:</th>
                        <td th:text="${studentList.getStuBankAddress()}"></td>

                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>邮编:</th>
                        <td th:text="${studentList.getStuPostalCode()}"></td>
                        <th>微信:</th>
                        <td th:text="${studentList.getStuWechat()}"></td>
                        <th>qq:</th>
                        <td th:text="${studentList.getStuQq()}"></td>
                        <th>邮箱:</th>
                        <td th:text="${studentList.getStuEmail()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>手机号码:</th>
                        <td th:text="${studentList.getStuPhone()}"></td>
                        <th> 家庭住址:</th>
                        <td colspan="3" th:text="${studentList.getStuAddress()} "></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                    <th>特长:</th>
                    <td colspan="3" th:text="${studentList.getStuAdvantage()}"></td>
                    <th>既往病史:</th>
                        <td colspan="3" th:text="${studentList.getStuPastIll()}"></td>
                    </tr>
                </table>
            </fieldset>
<fieldset>
                <legend><h2>二、学籍信息</h2></legend>

                <table class="table1">
                    <tr th:each="studentList:${studentinfo1}">

                        <td rowspan="6" style="width: 280px;"></td>
                        <th>年级:</th>
                        <td th:text="${studentList.getStuGrade()}"></td>
                        <th>二级学院:</th>
                        <td th:text="${studentList.getStuCollege()}"></td>
                        <th>专业:</th>
                        <td th:text="${studentList.getStuMajor()}"></td>
                        <th>班级:</th>
                        <td th:text="${studentList.getStuClass()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>学制:</th>
                        <td th:text="${studentList.getStuLength()}"></td>
                        <th>生源地:</th>
                        <td th:text="${studentList.getStuSource()}"></td>
                        <th>考生号:</th>
                        <td th:text="${studentList.getStuExamNum()}"></td>
                        <th>入学时间:</th>
                        <td th:text="${studentList.getStuEnterTime()}"></td>
                    </tr>
                    <tr th:each="studentList:${studentinfo1}">
                        <th>学生类别:</th>
                        <td th:text="${studentList.getStuType()}"></td>
                        <th>入学方式:</th>
                        <td th:text="${studentList.getStuEnterType()}"></td>
                        <th>培养层次:</th>
                        <td th:text="${studentList.getStuLevel()}"></td>
                        <th>学籍状态:</th>
                        <td th:text="${studentList.getStuStates()}"></td>
                    </tr>

                </table>

            </fieldset>

            <fieldset>
                <legend><h2>三、家庭情况</h2></legend>
                <table class="table2" >
                    <thead>
                    <tr class="tr1">

                        <th>与本人关系</th>
                        <th>姓名</th>
                        <th>联系方式</th>
                        <th>工作单位</th>

                    </tr>

                    </thead>

                    <tbody>

                    <tr  class="tr2" th:each="familyinfo1:${familyinfo1}">
                        <td th:text="${familyinfo1.getFamilyRelation()}"></td>
                        <td th:text="${familyinfo1.getFamilyName()}"> </td>
                        <td th:text="${familyinfo1.getFamilyPhone()}"></td>
                        <td th:text="${familyinfo1.getFamilyWorkAddress()}"> </td>
                    </tr>
                    </tbody>

                </table>
            </fieldset>

        </div>



    </div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function() {
        var element = layui.element;
    });
</script>
</body>
</html>